These routines print to Standard Output (stdout) and are compatible with nShell I/O redirection.
NSH_printf
----------
void NSH_printf(const char *fmt, ...);
PARAMETERS
PARAMETERS
Quite a few, please refer to a C language reference.
RETURNS
none
PROCESS
All parameters are converted to a character string. The resulting string is sent to Standard Output.
NSH_putchar
-----------
void NSH_putchar(char c);
PARAMETERS
char c character to be output
RETURNS
none
PROCESS
The passed character is printed on Standard Output. Note that a lot of overhead is involved in sending a single character back through to a shell. Whenever possible, use NSH_puts or NSH_putStr to output larger blocks of text.